package com.woniuxy.member.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 兑换菜品表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exchange_food")
public class ExchangeFood implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 菜品兑换ID
     */
    @TableId(value = "exchange_food_id", type = IdType.AUTO)
    private Integer exchangeFoodId;

    /**
     * skuID
     */
    private Integer skuId;

    /**
     * sku名称
     */
    private String skuName;

    /**
     * sku主图
     */
    private String mainPic;

    /**
     * 兑换需要的积分
     */
    private Integer score;


}
